package cn.iocoder.yudao.module.promotion.api.quickcombination;

import cn.iocoder.yudao.module.promotion.api.quickcombination.dto.QuickCombinationRecordCreateReqDTO;
import cn.iocoder.yudao.module.promotion.service.quickcombinationactivity.QuickCombinationRecordService;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import javax.annotation.Resource;
import javax.validation.Valid;

@Service
@Validated
public class QuickCombinationRecordApiImpl implements QuickCombinationRecordApi{

    @Resource
    private QuickCombinationRecordService quickCombinationRecordService;

    public void createCombinationRecord(@Valid QuickCombinationRecordCreateReqDTO reqDTO){
        quickCombinationRecordService.createQuickCombinationRecord(reqDTO);
    }
}
